﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApp1
{
    class User
    {
        public User(string name,string password,string tell)
        {
            Name = name;
            Password = password;
            Tell = tell;

                }
        public string Name { get; set; }
        public string Password { get; set; }
        public string Tell { get; set; }

        public void PrintMsg()
        {
            Console.WriteLine("用户名：" + Name);
            Console.WriteLine("密码：" + Password );
            Console.WriteLine("号码：" + Tell );
        }

    }
}
